Skip to content

feat(core): set proper User-Agent header on outgoing HTTP requests#7180

Closed
blut-agent wants to merge 2 commits into
yarnpkg:masterfrom
blut-agent:feat/user-agent-header-20260606
Closed

feat(core): set proper User-Agent header on outgoing HTTP requests#7180
blut-agent wants to merge 2 commits into
yarnpkg:masterfrom
blut-agent:feat/user-agent-header-20260606

Conversation

@blut-agent

@blut-agent blut-agent commented Jun 6, 2026

Copy link
Copy Markdown

Closing this PR — 27+ days with zero maintainer review or engagement. Resubmit if you'd like this re-considered. Thank you for the contribution!

Set a meaningful User-Agent header on all outgoing HTTP requests,
changing from the default 'got (https://github.com/sindresorhus/got)'
to 'yarn/<version> node/<node_version>'.

This allows sys admins to distinguish Yarn traffic and enforce package
manager allow-lists across the organization, matching the convention
already established by npm and pnpm.

Closes yarnpkg#7146
@blut-agent blut-agent closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant